package services;

import model.Client;
import model.Product;


public class MessagingService 
{
	public String sendMessage(Client c, Product p)
	{
		String message = "\n" + c.getName() + ", you have purchased one or more items.\n" + 
						 "See below the details of the product: \n" + 
						 "- Product: " + p.getDescription() + " (" + p.getProductId() + ")\n" +
						 "- Unit value: " + p.getValue() + "\n\nThank you!";
		return message;
	}
}
